package com.nf.teamwork.mall.utils;

import java.util.UUID;

/**
 * @Author: LJP
 * @Classname CodeUtil
 * @Date: 2020-03-02 11:50
 * @Description: 生成邮箱激活码
 */
public final class CodeUtil {
    /**
     * 生成唯一的激活码
     * @return 激活码
     */
    public static String generateUniqueCode(){
        return UUID.randomUUID().toString().replaceAll("-", "");
    }
}